/*
 * @Author: ZhaoZhiqi
 * @Date: 2023-11-13 18:15:38
 * @LastEditors: ZhaoZhiqi
 * @LastEditTime: 2023-11-13 18:26:12
 * @Description: 
 * @FilePath: \labtalk-admin\src\App.jsx
 */
import '@mantine/core/styles.css';
import '@mantine/notifications/styles.css';
import { MantineProvider } from '@mantine/core';
import { nprogress, NavigationProgress } from '@mantine/nprogress';
import { Router } from './Router';
import { theme } from "./theme";
import './App.module.css';
import { getInfoAPI } from "./api/getInfo";
import { useState, useEffect } from 'react';
import { Notifications } from '@mantine/notifications';

export default function App() {
  return (
    <MantineProvider theme={theme}>
      <Notifications style={{ width: 320 }} position='top-right'></Notifications>
      <Router />
    </MantineProvider >
  );
}